From 51534471f681519445555261526c6963cbf45140 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sat, 10 Apr 1993 06:21:16 +0000 Subject: [PATCH] Sat Apr 10 00:39:29 1993 Jim Blandy (jimb@totoro.cs.oberlin.edu) * paragraphs.el (sentence-end, forward-sentence): Doc fixes. --- lisp/textmodes/paragraphs.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index baebf2d23ff..ae2af674074 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -37,7 +37,11 @@ If you change this, you may have to change paragraph-start also.") (defconst sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") "\ *Regexp describing the end of a sentence. -All paragraph boundaries also end sentences, regardless.") +All paragraph boundaries also end sentences, regardless. + +In order to be recognized as the end of a sentence, the ending period, +question mark, or exclamation point must be followed by two spaces, +unless it's inside some sort of quotes or parenthesis.") (defconst page-delimiter "^\014" "\ *Regexp describing line-beginnings that separate pages.") @@ -178,7 +182,7 @@ negative arg -N means kill forward to Nth end of paragraph." (end-of-paragraph-text)))))) (defun forward-sentence (&optional arg) - "Move forward to next`sentence-end'. With argument, repeat. + "Move forward to next `sentence-end'. With argument, repeat. With negative argument, move backward repeatedly to `sentence-beginning'. The variable `sentence-end' is a regular expression that matches ends of -- 2.30.2